/*
 * @Author: chenhaoran
 * @Date: 2024-08-06 15:08:47
 * @LastEditors: chenhaoran
 * @LastEditTime: 2024-08-08 17:51:23
 */

export default [
  {
    url: '/api/home/getStatisticData', //请求地址
    method: 'get', //请求方式
    response: (request) => {
      return {
        code: 200,
        data: {
          userView: 6666,
          sysMessage: 168,
          goods: 8888,
          order: 568
        }
      }
    },
  },
  {
    url: '/api/home/getRankList', //请求地址
    method: 'get', //请求方式
    response: (request) => {
      return {
        code: 200,
        data: [{
          name: '手机',
          sales: 10000,
          percent: 90
        }, {
          name: '电脑',
          sales: 8000,
          percent: 80
        }, {
          name: '相机',
          sales: 6000,
          percent: 75
        }, {
          name: '衣服',
          sales: 5000,
          percent: 60
        }, {
          name: '书籍',
          sales: 4000,
          percent: 40
        }]
      }
    },
  },
]